package com.swordliu.facebook.service;

import com.swordliu.facebook.pojo.entity.Permission;
import com.swordliu.facebook.service.base.BaseService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * PermissionService
 * Created by SwordLiu on 2017-07-24.
 */
public interface PermissionService extends BaseService<Permission> {

    List<Permission> getPermissions() throws Exception;

    Set<String> getPermissionKeys(Long id);
}
